package com.smyh.bean;

import java.text.SimpleDateFormat;

/**
 * Created by Administrator on 2016/5/11.
 */
public class Msg {
    public static SimpleDateFormat sdf = new SimpleDateFormat(Msg.DATEFORMAT);
    public static final String DATEFORMAT = "HH:mm:ss SSS";
    public static final int TYPE_RECTIVED = 0;//收到的消息类型
    public static final int TYPE_SEND = 1;// 发送的消息类型

    private String content;
    private int type;
    private String time;

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Msg(String content, int type,String time) {
        this.content = content;
        this.type = type;
        this.time = time;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }


    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
